import { RouteRecordRaw } from "vue-router";
import { CategoryObj } from "../../../api/product/attr/type";

export interface UserState {
  token: string | null | void,
  menuRoutes: RouteRecordRaw[],
  username: string,
  avatar: string
}

export interface CategoryState {
  c1Id: string | number,
  c2Id: string | number,
  c3Id: string | number,
  c1Arr: CategoryObj[],
  c2Arr: CategoryObj[],
  c3Arr: CategoryObj[],
}